import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author RedReins
 * @version 1.0
 * @description: TODO
 * @date 2021/9/24 21:45
 */

public class testClass {
    @Test
    public void giao(){
        String format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date().getTime());
//        Timestamp timestamp = new Timestamp(Long.valueOf("2021-09-28 15:31:43"));
//        Timestamp timestamp1 = DateTimeUtils.changeTime(timestamp);

        System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
    }
}
